package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.dto.NursingPlanDto;
import com.zzyl.vo.NursingPlanVo;

public interface NursingPlanService {
    //条件分页查询
    PageResponse<NursingPlanVo> findByPage(Integer pageNum, Integer pageSize, String name, Integer status);

    //根据id查询
    NursingPlanVo findById(Long id);

    //根据id修改
    void updateById(NursingPlanDto dto);

    //新增保存
    void save(NursingPlanDto dto);

    //根据id删除计划
    void deleteById(Long id);

    //启用禁用
    void updateStatus(Long id, Integer status);
}
